 {include file="admin/public/header" /}
 <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>帐号绑定 <small>绑定到本地帐号</small></h5>
                       
                    </div>
                    <div class="ibox-content">
                        <div class="row">
                            <div class="col-sm-6 b-r">
                                <p>将<span style="color:red">{$sns_token.nickname}</span>绑定到本地帐号(⊙o⊙)</p>
                                <form role="form" class="cmzForm" action="" method="post">
                                    <div class="form-group">
                                        <label>用户名</label>
                                        <input type="text" name="user_name" placeholder="邮箱 / 用户名" class="form-control">
                                    </div>
                                    <div class="form-group">
                                        <label>密码</label>
                                        <input type="password" name="password" placeholder="密码" class="form-control">
                                    </div>
                                    <div>
                                        <a class="btn btn-sm btn-primary pull-right m-t-n-xs bang tPost" form='cmzForm' url="{:url('ucenter/api/bang_users')}">绑  定</a>
                                      
                                        <label>
                                            <!-- <input type="checkbox" class="i-checks">自动登录</label> -->
                                    </div>
                                </form>
                            </div>
                            <div class="col-sm-6">
                                <h4>还不是会员？直接生成新用户</h4>
                                <form role="form" class="creatform" action="{:url('ucenter/api/creat_sns_user')}" method="post">
                                    <div class="form-group">
                                        <label>用户名</label>
                                        <input type="text" name="user_name" placeholder="邮箱 / 用户名" class="form-control user_name">
                                    </div>
                                    <div class="form-group">
                                        <label>密码</label>
                                        <input type="password" name="password" placeholder="密码" class="form-control password">
                                    </div>
                                    <div>
                                    <a href="javascript:;" class="btn btn-w-m btn-primary pull-right creat-sns-btn tPost" form='creatform' url="{:url('ucenter/api/creat_sns_user')}"><i class="fa fa-sign-in "></i>直接生成用户</a>
                                    
                                        <label>
                                            <!-- <input type="checkbox" class="i-checks">自动登录</label> -->
                                    </div>
                                </form>
                                <script type="text/javascript">
                                $('.creat-sns-btn').click(function(event) {
                                	// var o = {};
                                	// o['user_name'] = $('.user_name').val();
                                	// o['password'] = $('.password').val();
                                	// cmzAjax("{:url('ucenter/ajax/creat_sns_user')}","json",o);
                                
                                	
                                	
                                });
                                </script>
                                <!-- <p>直接生成新用户</p> -->
                                <p class="text-center">
                                    
                                </p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
           {include file="admin/public/footer" /}